package com.sphere.freereader;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by aquarius on 2016/9/4.
 */
public class TestActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.test_activity_layout);
        getSupportFragmentManager().beginTransaction().replace(R.id.root, new BookListFragment()).commit();
//        Fragment fragment = new BookListFragment();
//        getSupportFragmentManager().beginTransaction().add(new BookListFragment(), "tag").commit();
    }
}
